package business;

import java.util.List;

import vo.Element;

public interface ElementService {

	List<Element> getAllElements();

	List<Element> getByTemplateId(long templateId);

	Element getByTemplateIdName(long tId, String name);

	void addElement(String name);

	void addElement(Element e);

	Element getById(long id);

	void update(long id);

	void delete(long id);

}
